<ui:composition template="/templates/baseTempl.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a="http://richfaces.org/a4j" xmlns:r="http://richfaces.org/rich"
	xmlns:t="http://myfaces.apache.org/tomahawk">
	<ui:define name="title">Вход</ui:define>
	<ui:define name="body">
		<f:view>
			<h:form id="frmLogin">
				<h:panelGrid>
					<h:panelGrid columns="2">
						<h:outputText value="Потребителско име:"></h:outputText>
						<h:inputText value="#{user.userName}" />

						<h:outputText value="Парола:"></h:outputText>
						<h:inputSecret value="#{user.password}" />
					</h:panelGrid>
					<h:panelGrid styleClass="container-right">
						<h:commandButton value="Вход" action="#{user.login}" type="submit"
							id="btnLogin" />
					</h:panelGrid>
				</h:panelGrid>
			</h:form>
		</f:view>
	</ui:define>
</ui:composition>